package com.sjgtw.cloud.web.path.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 应急路径对象 emergency_path
 * 
 * @author lvyoufang
 * @date 2024-03-19
 */
@ApiModel(value="应急路径对象", description="emergency_path")
public class EmergencyPath extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 上道地点id */
    @ApiModelProperty(value = "上道地点id")
    @Excel(name = "上道地点id")
    private Long upperId;

    /** 路径信息 */
    @ApiModelProperty(value = "路径信息")
    @Excel(name = "路径信息")
    private String pathInfo;

    /** 创建人id */
    @ApiModelProperty(value = "创建人id")
    @Excel(name = "创建人id")
    private Long createUserId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUpperId(Long upperId) 
    {
        this.upperId = upperId;
    }

    public Long getUpperId() 
    {
        return upperId;
    }
    public void setPathInfo(String pathInfo) 
    {
        this.pathInfo = pathInfo;
    }

    public String getPathInfo() 
    {
        return pathInfo;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("upperId", getUpperId())
            .append("pathInfo", getPathInfo())
            .append("createUserId", getCreateUserId())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
